package cn.bdqn.services.dept.mapper;

import java.util.List;

import cn.bdqn.model.pojo.Warrantystate;
import cn.bdqn.model.pojo.WarrantystateExample;
import org.apache.ibatis.annotations.Param;

public interface WarrantystateMapper {
    long countByExample(WarrantystateExample example);

    int deleteByExample(WarrantystateExample example);

    int deleteByPrimaryKey(Integer warrantyStateNumber);

    int insert(Warrantystate record);

    int insertSelective(Warrantystate record);

    List<Warrantystate> selectByExample(WarrantystateExample example);

    Warrantystate selectByPrimaryKey(Integer warrantyStateNumber);

    int updateByExampleSelective(@Param("record") Warrantystate record, @Param("example") WarrantystateExample example);

    int updateByExample(@Param("record") Warrantystate record, @Param("example") WarrantystateExample example);

    int updateByPrimaryKeySelective(Warrantystate record);

    int updateByPrimaryKey(Warrantystate record);
}